﻿
var hostUrl = 'http://localhost:17159';

App = Ember.Application.create();

App.Router.map(function () {
    // put your routes here
});

App.IndexRoute = Ember.Route.extend({
    model: function () {
        return ['red', 'yellow', 'blue'];
    }
});

App.ApplicationAdapter = DS.RESTAdapter.extend({
    namespace: 'api',
    host: hostUrl
});

App.ApplicationRoute = Ember.Route.extend({
    model: function () {
        var clubs = this.store.find('club')
    }
});